package org.jeecg.entity.charge;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.modules.system.entity.BaseEntity;

/**
 * @Description: 缴费优惠规则
 * @Author: liurui
 * @Date:   2021-01-06
 * @Version: V1.0
 */
@Data
@TableName("charge_discount")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="charge_discount对象", description="缴费优惠规则")
public class ChargeDiscount extends BaseEntity  {
    
	/**createBy*/
	@Excel(name = "createBy", width = 15)
    @ApiModelProperty(value = "createBy")
	private java.lang.String createBy;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
	private java.util.Date createTime;
	/**delFlag*/
	@Excel(name = "delFlag", width = 15)
    @ApiModelProperty(value = "delFlag")
	@TableLogic
	private java.lang.String delFlag;
	/**折扣*/
	@Excel(name = "折扣", width = 15)
    @ApiModelProperty(value = "折扣")
	private double discountScale;
	/**收费项id*/
	@Excel(name = "收费项id", width = 15)
    @ApiModelProperty(value = "收费项id")
	private java.lang.String feeId;
	/**收费项名称*/
	@Excel(name = "收费项名称", width = 15)
    @ApiModelProperty(value = "收费项名称")
	private java.lang.String feeName;
	@Excel(name = "是否对优惠应收继续打折：0否  1是", width = 15)
	@ApiModelProperty(value = "是否对优惠应收继续打折：0否  1是")
	private String isAgain;
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private java.lang.String id;
	/**月份数*/
	@Excel(name = "月份数", width = 15)
    @ApiModelProperty(value = "月份数")
	private java.lang.Integer months;
	/**项目id*/
	@Excel(name = "项目id", width = 15)
    @ApiModelProperty(value = "项目id")
	private java.lang.String projectId;
	/**remarks*/
	@Excel(name = "remarks", width = 15)
    @ApiModelProperty(value = "remarks")
	private java.lang.String remarks;
	/**渠道id*/
	@Excel(name = "渠道id", width = 15)
    @ApiModelProperty(value = "渠道id")
	private java.lang.String tenantId;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
    @ApiModelProperty(value = "updateBy")
	private java.lang.String updateBy;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
	private java.util.Date updateTime;

	@TableField(exist = false)
	private String projectName;
}
